package com.ljx.itbbs.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableAspectJAutoProxy(exposeProxy = true,proxyTargetClass = true) // 开启AopContext调用
@MapperScan("com.ljx.itbbs.server.**.mapper")
@SpringBootApplication(scanBasePackages = "com.ljx.itbbs")
public class ItBbsApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItBbsApplication.class, args);
    }
}
